chore: add pre-commit configuration and update dev dependencies#11
Merged
oVitorio-ac merged 1 commit intodevelopmentfrom Oct 10, 2025
Merged
chore: add pre-commit configuration and update dev dependencies#11oVitorio-ac merged 1 commit intodevelopmentfrom
oVitorio-ac merged 1 commit intodevelopmentfrom
Conversation
Add pre-commit hooks for code quality checks including trailing whitespace, end-of-file fixes, YAML validation, large file checks, Black formatting, isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml with corresponding dev dependencies for flake8, pylint, and pre-commit.
oVitorio-ac
added a commit
that referenced
this pull request
Oct 10, 2025
* ci: add CI workflow and branch deletion automation Add GitHub Actions workflows for continuous integration testing and automated deletion of merged branches. The CI workflow includes steps for Python setup, dependency installation with Poetry, running tests, and linting with Black, isort, and detect-secrets. The branch deletion workflow removes merged branches upon PR closure. * ci: remove dev and prod CI workflows * chore: add pre-commit configuration and update dev dependencies (#11) Add pre-commit hooks for code quality checks including trailing whitespace, end-of-file fixes, YAML validation, large file checks, Black formatting, isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml with corresponding dev dependencies for flake8, pylint, and pre-commit. Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br> * chore: add pre-commit configuration and update dev dependencies (#12) * chore: add pre-commit configuration and update dev dependencies Add pre-commit hooks for code quality checks including trailing whitespace, end-of-file fixes, YAML validation, large file checks, Black formatting, isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml with corresponding dev dependencies for flake8, pylint, and pre-commit. * ci: update branch deletion to use API call in delete-branch workflow The change replaces `gh branch delete` with a direct GitHub API DELETE request for more reliable branch deletion in the CI workflow. --------- Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br> * refactor(generator): streamline module imports and enhance type safety (#13) Introduce __all__ declarations in package init files to clearly define the public API for LoremIpsum, PDFGenerator, and related classes. Convert absolute imports to relative paths for better encapsulation and add type hints to method signatures in PDFGenerator for improved code clarity and maintainability. Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br> --------- Co-authored-by: Vitório A. Cavalheiro <vitorio@dmxdesign.com.br>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add pre-commit hooks for code quality checks including trailing whitespace, end-of-file fixes, YAML validation, large file checks, Black formatting, isort imports, Flake8 linting, and Pylint analysis. Update pyproject.toml with corresponding dev dependencies for flake8, pylint, and pre-commit.
PULL REQUEST FOR card-id
Type
Description
...
Screenshots
How to Test
...
Dependencies
Yes
No
Dependencies
Checklist (Code Review)
card-id